package top.lunarye.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author lunar
 * @since 2022-07-11
 */
@Getter
@ToString
@AllArgsConstructor
public enum IdType {

    USER_ID(10, "userId"),
    PHONE(20, "phone"),
    EMAIL(30, "email")
    ;

    private final Integer code;
    private final String description;
}
